package com.dfrz.controller;

import com.dfrz.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 作者:maweifeng
 * 日期 2021/8/2 16:11
 * 描述:
 */
@RestController
@RequestMapping("/")
public class DiaoController {
    @Autowired
    IUserService userService;

    @RequestMapping("diao")
    public ModelAndView todiao(){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("diao");
        return mv;
    }

}
